using UnityEngine;

public class Settings : MonoBehaviour
{
	private void Start()
	{
		if (PlayerPrefs.GetInt("firstrun", 0) == 0)
		{
			SetDefaultSettings();
		}
	}

	public void SetDefaultSettings()
	{
		PlayerPrefs.SetInt("controls", 1);
	}

	public void SaveControls(int value)
	{
		PlayerPrefs.SetInt("controls", value);
	}

	public int GetControls()
	{
		return PlayerPrefs.GetInt("controls", 0);
	}
}
